﻿using System;

namespace Ndns.ServerHost.Abstractions
{
    public interface IDnsServerHostBuilder
    {
        IDnsServerHostBuilder ConfigureServices(Action<IServiceBuilder> builderDelegate);

        IDnsServerHostBuilder ConfigureMiddlewares(Action<IMiddlewaresBuilder> builderDelegate);

        IDnsServerHost Build();
    }
}
